/**
 * @Author ZhangGJ
 * @Date 2021/07/26 23:43
 */
#include <stdio.h>

void interchange(int u, int v);

int main(void) {
    int x = 5;
    int y = 10;
    printf("Originally x = %d and y = %d.\n", x, y);
    interchange(x, y);
    printf("Now x = %d and y = %d.\n", x, y);
    return 0;
}

void interchange(int u, int v) {
    int temp;
    temp = v;
    u = v;
    v = temp;
}
